package excercise.Page28;

/**
 * @Author: Miyako
 * @Date: 2024-07-15-9:18
 * @Description:正方形,矩形的变种继承矩形即可
 */
public class Square extends Rectangle{
Square(){
}
Square(double x){
    setY(x);
    setX(x);
}
}
